package com.talent.core.protocol.mqtt.model.response;

import com.talent.core.protocol.mqtt.model.fix.TlMqttFixedHead;
import com.talent.core.protocol.mqtt.model.variable.TlMqttConnackVariableHead;

/**
 * @ClassName：TlMqttConnackRes
 * @Author: hszhou
 * @Date: 2024/11/25 11:12
 * @Description: 连接请求的响应
 */
public class TlMqttConnack  {

    private TlMqttFixedHead fixedHead;
    private TlMqttConnackVariableHead variableHead;

    public TlMqttFixedHead getFixedHead() {
        return fixedHead;
    }

    public void setFixedHead(TlMqttFixedHead fixedHead) {
        this.fixedHead = fixedHead;
    }

    public TlMqttConnackVariableHead getVariableHead() {
        return variableHead;
    }

    public void setVariableHead(TlMqttConnackVariableHead variableHead) {
        this.variableHead = variableHead;
    }


    @Override
    public String toString() {
        return "TlMqttConnack{" +
                "fixedHead=" + fixedHead +
                ", variableHead=" + variableHead +
                '}';
    }
}
